package org.example.springboot.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.example.springboot.common.utils.DateUtils;

import java.io.Serializable;

import java.util.Date;

/**
* 
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2024-11-19
*/
@Data
@Schema(description = "")
public class FmcMetricsVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "关联控制记录UUID")
	private String controlUuid;

	@Schema(description = "设备编码")
	private String did;

	@Schema(description = "灌溉量=阀关闭时水表上传的累计流量值-阀开启时水表初次累计流量值")
	private Float irrigationAmount;

	@Schema(description = "蒸散量=阀开启时到阀下一次开启时的累计ET值")
	private Float et;

	@Schema(description = "剩余流量")
	private Float flowRem;

	private Long id;

	@Schema(description = "uuid")
	private String uuid;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createDate;

	@Schema(description = "更新时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date updateDate;


}